#ifndef _VIDEO_H
#define _VIDEO_H

#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include "definitions.h"


//------------------------------------------------------------------------------
// Video
// Class that allows to us create a new window. This window is created with SDL 
// and OpenGL. 
//------------------------------------------------------------------------------
class Video{
	
  SDL_Surface *m_pScreen;   
  Log    *m_pLog;  
          
public:
  
  Video();
  ~Video();
  bool  init(const char _windowName[63], 
						 int _witdh=WIDTH,
						 int _height=HEIGHT, 
						 int _fullScreen=FULLSCREEN);
  void  freeMemory();
  void  update();   
};

#endif
